#pragma once
#include "afxcmn.h"
#include <map>

class CColorListCtrl :
	public CListCtrl
{
public:
	CColorListCtrl(void);
	~CColorListCtrl(void);

public:
	void	SetItemColor(DWORD iItem, COLORREF color);
	void	ClearItemColor();
protected:
	afx_msg void OnNMCustomdraw(NMHDR *pNMHDR, LRESULT *pResult);

	DECLARE_MESSAGE_MAP()

private:
	std::map<DWORD, COLORREF>		m_mapColorRef;
};
